/**
 * Created with IntelliJ IDEA.
 * Description: 包装类的学习
 */
public class Test3 {
    public static void main(String[] args) {
        Integer a = 127;
        Integer b = 127;
        Integer c = 128;
        Integer d = 128;
        System.out.println(a == b);
        System.out.println(c == d);
    }

    public static void main1(String[] args) {
        Integer a = new Integer(10);
        Integer b = 20;
        Integer c = Integer.valueOf(30);

        int d = a;
        int e = b.intValue();
        float f = c.floatValue();
    }
}
